﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using QuanLyThuoc.DAL;
namespace QuanLyThuoc.BUS
{
    class LoaiThuocBUS
    {
        private static readonly LoaiThuocDAL loai = new LoaiThuocDAL();
        public DataTable SelectAll_LoaiThuoc()
        {
            return loai.SelectAll_LoaiThuoc();
        }
        public DataTable SelectID_LoaiThuoc(string LoaiThuoc)
        {
            return loai.SelectID_LoaiThuoc(LoaiThuoc);

        }
        public int InsertLoaiThuoc(string loaithuoc)
        {
            return loai.InsertLoaiThuoc(loaithuoc);
        }
        public int UpdateLoaiThuoc(string loaithuoc)
        {
            return loai.UpdateLoaiThuoc(loaithuoc);
        }
        public int DeleteLoaiThuoc(string loaithuoc)
        {
            return loai.DeleteLoaiThuoc(loaithuoc);
        }
    }
}
